package com.ptkc.core.canal.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: Mr.Jiao
 * @date: 2018年09月29日
 */

@Data
@ConfigurationProperties("spring.boot.canal")
public class CanalProperties {

    private String server;

    private String destination;

    private String username;

    private String password;

    private Integer batchSize = 10;

    private Integer port;

    private String host;

}
